This is a readme-file for the replication archive for Dahlgaard, Jens Olav (2018): "Trickle-up political socialization: the causal effect on turnout of parenting a newly enfranchised voter", American Political Science Review.

The replication archive consists of a number of r-script that sources a number of .rdata-files. The files are listed here in the order in which the tables and figures they produce appear in the paper and in the supporting information. 

- table1.R creates table 1 of the paper. Depends on agg_day_year_all.rdata and n_day_year_all.rdata
- figure1.R creates figure 1 of the paper. Depends on agg_day_year_all.rdata and n_day_year_all.rdata
- table2.R creates table 2 of the paper. Depends on agg_day_year_all.rdata, n_day_year_all.rdata, agg_day_year_allyears.rdata, and n_day_year_allyears.rdata
- table3.R creates table 3 of the paper. Depends on mock_datas_nolag.rdata and mock_ns_nolag.rdata.

- tableS1.R creates table S1 of the supporting information. It depends on table_rep.rdata
- figureS1.R creates figure S1 of the supporting information. Depends on agg_day_year_all.rdata and n_day_year_all.rdata
- figugeS2S3.R creates figure S2 and figure S3 of the supporting information. Depends on mock_datas_nolag.rdata and mock_ns_nolag.rdata.
- figureS4.R creates figure S4 of the supporting information. Depends on het_data_recur.rdata
- tableS2.R creates table S2 of the supporting information. It depends on ind_effect_all.rdata and year_effect_all.rdata
- figureS5.R creates figure S5 of the supporting information. Depends on agg_day_year_all.rdata and n_day_year_all.rdata
- figureS6.R creates figure S6 of the supporting information. Depends on agg_day_year_all.rdata and n_day_year_all.rdata
- figureS7tableS3.R creates figure S7 and table S3 of the supporting information. Depends on mock_datas_nolag.rdata and mock_ns_nolag.rdata.
- figugeS8S9.R creates figure S8 and figure S9 of the supporting information. Depends on agg_day_year_all.rdata and n_day_year_all.rdata.
- figureS10.R creates figure S10 of the supporting information. Depends on agg_day_year_all.rdata and n_day_year_all.rdata
- figureS11tableS4.R creates figure S11 and table S4 of the supporting information. Depends on het_dat_last.rdata
- figureS12tableS5.R creates figure S12 and table S5 of the supporting information. Depends on het_dat.rdata
- figureS13tableS6.R creates figure S13 and table S5 of the supporting information. Depends on het_dat.rdata
- figugeS4S15S16.R creates figure S14, figure S15, and figure S16 of the supporting information. Depends on data_in.rdata.



